<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk">

<f:view>
<f:loadBundle var="text" basename="#{zykhxxList.bundleName}"/>
    <head>
        <title>#{text['zykhxxList.title']}</title>
        <meta name="heading" content="#{text['zykhxxList.heading']}"/>
        <meta name="menu" content="ZykhxxMenu"/>
    </head>
<body id="zykhxxList">
<h:form id="editZykhxx">

<h:commandButton value="#{text['button.add']}" action="add" id="add" immediate="true" styleClass="button"/>
<h:commandButton value="#{text['button.done']}" action="mainMenu" id="cancel" immediate="true" styleClass="button" style="margin-left: 5px"/>

<t:dataTable id="zykhxxs" var="zykhxx" style="margin-top: 10px"
    value="#{zykhxxList.zykhxxs}" rows="25" sortColumn="#{zykhxxList.sortColumn}"
    sortAscending="#{zykhxxList.ascending}" styleClass="scrollerTable table"
    headerClass="standardTable_Header" rowClasses="standardTable_Row1,standardTable_Row2"
    columnClasses="standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column,standardTable_ColumnCentered">

    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="xh" arrow="true">
                <h:outputText value="#{text['zykhxx.xh']}" />
            </t:commandSortHeader>
        </f:facet>
    	<h:commandLink action="#{zykhxxForm.edit}" value="#{zykhxx.xh}">
            <f:param name="zykhxxid" value="#{zykhxx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="gycpmc" arrow="true">
                <h:outputText value="#{text['zykhxx.gycpmc']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zykhxx.gycpmc}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="khdz" arrow="true">
                <h:outputText value="#{text['zykhxx.khdz']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zykhxx.khdz}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="khmc" arrow="true">
                <h:outputText value="#{text['zykhxx.khmc']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zykhxx.khmc}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="operation" arrow="true">
                <h:outputText value="#{text['zykhxx.operation']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zykhxx.operation}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="optdate" arrow="true">
                <h:outputText value="#{text['zykhxx.optdate']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zykhxx.optdate}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="phone" arrow="true">
                <h:outputText value="#{text['zykhxx.phone']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zykhxx.phone}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="username" arrow="true">
                <h:outputText value="#{text['zykhxx.username']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zykhxx.username}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="version" arrow="true">
                <h:outputText value="#{text['zykhxx.version']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zykhxx.version}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="wjqzk" arrow="true">
                <h:outputText value="#{text['zykhxx.wjqzk']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zykhxx.wjqzk}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="ywgxnx" arrow="true">
                <h:outputText value="#{text['zykhxx.ywgxnx']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zykhxx.ywgxnx}" escape="true"/>
    </t:column>
</t:dataTable>

<ui:include src="/common/tableFooter.xhtml">
    <ui:param name="tableName" value="zykhxxs"/>
</ui:include>

<script type="text/javascript">
    highlightTableRows("editZykhxx:zykhxxs");
</script>

</h:form>
</body>
</f:view>
</html> 